object FrmImportaReducao: TFrmImportaReducao
  Left = 0
  Top = 0
  Caption = 'IMPORTAR REDU'#199#195'O'
  ClientHeight = 572
  ClientWidth = 1050
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'Tahoma'
  Font.Style = []
  OldCreateOrder = False
  Position = poScreenCenter
  OnClose = FormClose
  OnShow = FormShow
  PixelsPerInch = 96
  TextHeight = 13
  object PageControl1: TPageControl
    Left = 0
    Top = 0
    Width = 1050
    Height = 572
    ActivePage = TabSheet1
    Align = alClient
    TabOrder = 0
    object TabSheet1: TTabSheet
      Caption = 'PRINCIPAL'
      object Label1: TLabel
        Left = 8
        Top = 8
        Width = 68
        Height = 13
        Caption = 'ARQUIVO TXT'
      end
      object Button1: TButton
        Left = 8
        Top = 40
        Width = 113
        Height = 25
        Caption = 'Carregar Arquivo'
        TabOrder = 0
        OnClick = Button1Click
      end
      object Button2: TButton
        Left = 3
        Top = 96
        Width = 75
        Height = 25
        Caption = 'Button2'
        TabOrder = 1
        Visible = False
        OnClick = Button2Click
      end
      object DBGrid1: TDBGrid
        Left = 0
        Top = 414
        Width = 1042
        Height = 130
        Align = alBottom
        DataSource = dsRegC420
        TabOrder = 2
        TitleFont.Charset = DEFAULT_CHARSET
        TitleFont.Color = clWindowText
        TitleFont.Height = -11
        TitleFont.Name = 'Tahoma'
        TitleFont.Style = []
      end
      object DBGrid2: TDBGrid
        Left = 0
        Top = 282
        Width = 1042
        Height = 132
        Align = alBottom
        DataSource = dsRegC405
        TabOrder = 3
        TitleFont.Charset = DEFAULT_CHARSET
        TitleFont.Color = clWindowText
        TitleFont.Height = -11
        TitleFont.Name = 'Tahoma'
        TitleFont.Style = []
      end
      object DBGrid3: TDBGrid
        Left = 0
        Top = 186
        Width = 1042
        Height = 96
        Align = alBottom
        DataSource = dsRegC400
        TabOrder = 4
        TitleFont.Charset = DEFAULT_CHARSET
        TitleFont.Color = clWindowText
        TitleFont.Height = -11
        TitleFont.Name = 'Tahoma'
        TitleFont.Style = []
      end
      object JvFilenameEdit1: TJvFilenameEdit
        Left = 96
        Top = 8
        Width = 177
        Height = 21
        AddQuotes = False
        TabOrder = 5
      end
      object RGFiltrar: TRadioGroup
        Left = 288
        Top = 2
        Width = 161
        Height = 32
        Caption = 'Filtrar'
        Columns = 2
        ItemIndex = 1
        Items.Strings = (
          'SIM'
          'N'#195'O')
        TabOrder = 6
      end
      object Button3: TButton
        Left = 136
        Top = 40
        Width = 121
        Height = 25
        Caption = 'Exportar para o BD'
        TabOrder = 7
        OnClick = Button3Click
      end
      object Edit1: TEdit
        Left = 96
        Top = 96
        Width = 121
        Height = 21
        TabOrder = 8
        Visible = False
      end
    end
    object TabSheet2: TTabSheet
      Caption = 'CONDI'#199#195'O'
      ImageIndex = 1
      object Panel1: TPanel
        Left = 0
        Top = 0
        Width = 515
        Height = 544
        Align = alLeft
        Caption = 'Panel1'
        TabOrder = 0
        object Label2: TLabel
          Left = 16
          Top = 8
          Width = 66
          Height = 13
          Caption = 'COD. SIT TXT'
        end
        object Label3: TLabel
          Left = 16
          Top = 40
          Width = 68
          Height = 13
          Caption = 'COD. SIT TGA'
        end
        object DBGrid4: TDBGrid
          Left = 1
          Top = 192
          Width = 513
          Height = 351
          Align = alBottom
          DataSource = dsCodSit
          TabOrder = 0
          TitleFont.Charset = DEFAULT_CHARSET
          TitleFont.Color = clWindowText
          TitleFont.Height = -11
          TitleFont.Name = 'Tahoma'
          TitleFont.Style = []
        end
        object EdtCodSitTXT: TEdit
          Left = 95
          Top = 8
          Width = 121
          Height = 21
          TabOrder = 1
        end
        object EdtCodSitTGA: TEdit
          Left = 95
          Top = 40
          Width = 121
          Height = 21
          TabOrder = 2
        end
        object BtnAdicionarCodSit: TButton
          Left = 16
          Top = 88
          Width = 75
          Height = 25
          Caption = 'Adicionar'
          TabOrder = 3
          OnClick = BtnAdicionarCodSitClick
        end
        object DBNavigator1: TDBNavigator
          Left = 1
          Top = 168
          Width = 218
          Height = 25
          DataSource = dsCodSit
          VisibleButtons = [nbDelete, nbCancel]
          TabOrder = 4
        end
      end
      object Panel2: TPanel
        Left = 527
        Top = 0
        Width = 515
        Height = 544
        Align = alRight
        Caption = 'Panel2'
        TabOrder = 1
        object Label4: TLabel
          Left = 16
          Top = 8
          Width = 80
          Height = 13
          Caption = 'NUM. SERIE ECF'
        end
        object Label5: TLabel
          Left = 16
          Top = 40
          Width = 116
          Height = 13
          Caption = 'COD. PONTO DE VENDA'
        end
        object DBGrid5: TDBGrid
          Left = 1
          Top = 192
          Width = 513
          Height = 351
          Align = alBottom
          DataSource = dsPontoDeVenda
          TabOrder = 0
          TitleFont.Charset = DEFAULT_CHARSET
          TitleFont.Color = clWindowText
          TitleFont.Height = -11
          TitleFont.Name = 'Tahoma'
          TitleFont.Style = []
        end
        object EdtPontoDeVenda: TEdit
          Left = 138
          Top = 40
          Width = 121
          Height = 21
          TabOrder = 1
        end
        object ComboBox1: TComboBox
          Left = 138
          Top = 8
          Width = 145
          Height = 21
          TabOrder = 2
        end
        object BtnAdicionarPontodeVenda: TButton
          Left = 16
          Top = 88
          Width = 75
          Height = 25
          Caption = 'Adicionar'
          TabOrder = 3
          OnClick = BtnAdicionarPontodeVendaClick
        end
        object DBNavigator2: TDBNavigator
          Left = 0
          Top = 168
          Width = 222
          Height = 25
          DataSource = dsPontoDeVenda
          VisibleButtons = [nbDelete, nbCancel]
          TabOrder = 4
        end
      end
    end
  end
  object dsRegC400: TDataSource
    DataSet = cdsRegC400
    OnDataChange = dsRegC400DataChange
    Left = 296
    Top = 40
  end
  object dsRegC405: TDataSource
    DataSet = cdsRegC405
    OnDataChange = dsRegC405DataChange
    Left = 368
    Top = 40
  end
  object dsRegC420: TDataSource
    DataSet = cdsRegC420
    Left = 432
    Top = 40
  end
  object cdsRegC400: TClientDataSet
    Active = True
    Aggregates = <>
    FieldDefs = <
      item
        Name = 'COD_MOD'
        DataType = ftString
        Size = 5
      end
      item
        Name = 'ECF_MOD'
        DataType = ftString
        Size = 20
      end
      item
        Name = 'ECF_FAB'
        DataType = ftString
        Size = 21
      end
      item
        Name = 'ECF_CX'
        DataType = ftString
        Size = 3
      end
      item
        Name = 'PONTO_DE_VENDA'
        DataType = ftString
        Size = 10
      end>
    IndexDefs = <>
    Params = <>
    StoreDefs = True
    AfterOpen = cdsRegC400AfterOpen
    Left = 296
    Top = 88
    Data = {
      AC0000009619E0BD010000001800000005000000000003000000AC0007434F44
      5F4D4F440100490000000100055749445448020002000500074543465F4D4F44
      0100490000000100055749445448020002001400074543465F46414201004900
      00000100055749445448020002001500064543465F4358010049000000010005
      57494454480200020003000E504F4E544F5F44455F56454E4441010049000000
      0100055749445448020002000A000000}
    object cdsRegC400COD_MOD: TStringField
      FieldName = 'COD_MOD'
      Size = 5
    end
    object cdsRegC400ECF_MOD: TStringField
      FieldName = 'ECF_MOD'
    end
    object cdsRegC400ECF_FAB: TStringField
      FieldName = 'ECF_FAB'
      Size = 21
    end
    object cdsRegC400ECF_CX: TStringField
      FieldName = 'ECF_CX'
      Size = 3
    end
    object cdsRegC400PONTO_DE_VENDA: TStringField
      FieldName = 'PONTO_DE_VENDA'
      Size = 10
    end
  end
  object cdsRegC405: TClientDataSet
    Active = True
    Aggregates = <>
    FieldDefs = <
      item
        Name = 'DT_DOC'
        DataType = ftString
        Size = 20
      end
      item
        Name = 'CRO'
        DataType = ftString
        Size = 20
      end
      item
        Name = 'CRZ'
        DataType = ftString
        Size = 20
      end
      item
        Name = 'NUM_COO_FIN'
        DataType = ftString
        Size = 20
      end
      item
        Name = 'GT_FIN'
        DataType = ftString
        Size = 20
      end
      item
        Name = 'VL_BRT'
        DataType = ftString
        Size = 20
      end
      item
        Name = 'ID_REGC405'
        DataType = ftInteger
      end
      item
        Name = 'ECF_CX'
        DataType = ftString
        Size = 3
      end
      item
        Name = 'PONTO_DE_VENDA'
        DataType = ftString
        Size = 10
      end>
    IndexDefs = <>
    Params = <>
    StoreDefs = True
    Left = 360
    Top = 88
    Data = {
      0C0100009619E0BD0100000018000000090000000000030000000C010644545F
      444F4301004900000001000557494454480200020014000343524F0100490000
      0001000557494454480200020014000343525A01004900000001000557494454
      480200020014000B4E554D5F434F4F5F46494E01004900000001000557494454
      480200020014000647545F46494E010049000000010005574944544802000200
      140006564C5F42525401004900000001000557494454480200020014000A4944
      5F524547433430350400010000000000064543465F4358010049000000010005
      57494454480200020003000E504F4E544F5F44455F56454E4441010049000000
      0100055749445448020002000A000000}
    object cdsRegC405DT_DOC: TStringField
      FieldName = 'DT_DOC'
    end
    object cdsRegC405CRO: TStringField
      FieldName = 'CRO'
      Transliterate = False
    end
    object cdsRegC405CRZ: TStringField
      FieldName = 'CRZ'
    end
    object cdsRegC405NUM_COO_FIN: TStringField
      FieldName = 'NUM_COO_FIN'
    end
    object cdsRegC405GT_FIN: TStringField
      FieldName = 'GT_FIN'
    end
    object cdsRegC405VL_BRT: TStringField
      FieldName = 'VL_BRT'
    end
    object cdsRegC405ID: TIntegerField
      FieldName = 'ID_REGC405'
    end
    object cdsRegC405ECF_CX: TStringField
      FieldName = 'ECF_CX'
      Size = 3
    end
    object cdsRegC405PONTO_DE_VENDA: TStringField
      FieldName = 'PONTO_DE_VENDA'
      Size = 10
    end
  end
  object cdsRegC420: TClientDataSet
    Active = True
    Aggregates = <>
    FieldDefs = <
      item
        Name = 'COD_TOT_PAR'
        DataType = ftString
        Size = 7
      end
      item
        Name = 'VLR_ACUM_TOT'
        DataType = ftString
        Size = 20
      end
      item
        Name = 'NR_TOT'
        DataType = ftString
        Size = 2
      end
      item
        Name = 'DESCR_NR_TOT'
        DataType = ftString
        Size = 10
      end
      item
        Name = 'ID_REGC405'
        DataType = ftInteger
      end
      item
        Name = 'COD_SIT_TGA'
        DataType = ftString
        Size = 5
      end>
    IndexDefs = <>
    Params = <>
    StoreDefs = True
    Left = 432
    Top = 88
    Data = {
      CA0000009619E0BD010000001800000006000000000003000000CA000B434F44
      5F544F545F50415201004900000001000557494454480200020007000C564C52
      5F4143554D5F544F540100490000000100055749445448020002001400064E52
      5F544F5401004900000001000557494454480200020002000C44455343525F4E
      525F544F540100490000000100055749445448020002000A000A49445F524547
      4334303504000100000000000B434F445F5349545F5447410100490000000100
      0557494454480200020005000000}
    object cdsRegC420COD_TOT_PAR: TStringField
      FieldName = 'COD_TOT_PAR'
      Size = 7
    end
    object cdsRegC420VLR_ACUM_TOT: TStringField
      FieldName = 'VLR_ACUM_TOT'
    end
    object cdsRegC420NR_TOT: TStringField
      FieldName = 'NR_TOT'
      Size = 2
    end
    object cdsRegC420DESCR_NR_TOT: TStringField
      FieldName = 'DESCR_NR_TOT'
      Size = 10
    end
    object cdsRegC420ID_REGC405: TIntegerField
      FieldName = 'ID_REGC405'
    end
    object cdsRegC420COD_SIT_TGA: TStringField
      FieldName = 'COD_SIT_TGA'
      Size = 5
    end
  end
  object cdsCodSit: TClientDataSet
    Active = True
    Aggregates = <>
    Params = <>
    Left = 256
    Top = 136
    Data = {
      5A0000009619E0BD0100000018000000020000000000030000005A000B434F44
      5F5349545F5458540100490000000100055749445448020002000A000B434F44
      5F5349545F5447410100490000000100055749445448020002000A000000}
    object cdsCodSitCOD_SIT_TXT: TStringField
      FieldName = 'COD_SIT_TXT'
      Size = 10
    end
    object cdsCodSitCOD_SIT_TGA: TStringField
      FieldName = 'COD_SIT_TGA'
      Size = 10
    end
  end
  object cdsPontoDeVenda: TClientDataSet
    Active = True
    Aggregates = <>
    Params = <>
    Left = 336
    Top = 144
    Data = {
      630000009619E0BD0100000018000000020000000000030000006300104E554D
      45524F5F53455249455F45434601004900000001000557494454480200020019
      000F434F445F504F4E544F5F56454E4441010049000000010005574944544802
      0002000A000000}
    object cdsPontoDeVendaNUMERO_SERIE_ECF: TStringField
      FieldName = 'NUMERO_SERIE_ECF'
      Size = 25
    end
    object cdsPontoDeVendaCOD_PONTO_VENDA: TStringField
      FieldName = 'COD_PONTO_VENDA'
      Size = 10
    end
  end
  object dsCodSit: TDataSource
    DataSet = cdsCodSit
    Left = 96
    Top = 136
  end
  object dsPontoDeVenda: TDataSource
    DataSet = cdsPontoDeVenda
    Left = 168
    Top = 160
  end
  object UniQuery1: TUniQuery
    Connection = DM.UniConnection1
    SQL.Strings = (
      'select * from autoincremento('#39'IDREDUCAOZ'#39','#39'TREDUCAOZ'#39','#39'1'#39')')
    Left = 416
    Top = 144
  end
  object uqReducao: TUniQuery
    Connection = DM.UniConnection1
    SQL.Strings = (
      'select * from treducaoz')
    Left = 528
    Top = 128
  end
  object uqReducaoItem: TUniQuery
    Connection = DM.UniConnection1
    SQL.Strings = (
      'select * from treducaozitem')
    Left = 632
    Top = 128
  end
end
